package org.ssh.service;

import java.util.List;

import org.ssh.dao.IBaseDao;
import org.ssh.dao.IRepairDao;
import org.ssh.pojo.Assetrepair;

public interface IRepairService<T> {
      
 
	public List<T> queryAssetrepair(String assetrepairid,Class<T> clazz);
     
    public void addAssetrepair(T assetrepair);
      
    public void modifyAssetrepair(T assetrepair);
    
    public void deleteAssetrepair(int assetrepairid,Class<T> clazz);
      
    public T getAssetrepair(Class<T> clazz, int assetrepairid);
      
    public IRepairDao getRepairDao();
  
    public void setRepairDao(IRepairDao repairdao);
    
    public boolean repairCheck(int assetrepairid,int assetid, int userid) throws Exception;
}  